# Ender Wand Datapack

A highly polished, vanilla-friendly magic wand datapack that brings devastating End magic to your Minecraft world. Features custom hitboxes, smooth particle animations, and high-quality sound effects.

## 🌟 Features
To get the wand, hold a stick and rename it to **ender wand** (in an anvil, or via commands). 

* **Left-Click (Ender Beam):** Fires a high-speed, localized beam of dragon breath that deals massive damage (1000 magic damage) to a single target. Features a custom volumetric hitbox so you can shoot mobs anywhere on their body, not just their feet. (Cooldown: 0.25s)
* **Right-Click (Dragon Fireball):** Shoots a smooth, high-velocity particle-based fireball that explodes on impact with a block or entity. The explosion leaves behind a massive 15-block wide Area of Effect (AOE) cloud of dragon breath that deals 250 damage per second to enemies caught inside. (Cooldown: 3.0s)
* **Note:** For visual smoothness to prevent teleport snapping, the custom fireball is rendered using high-density particle trails! 

## 📥 Installation
1. Download the `.zip` file.
2. Extract/Unzip the file on your computer. You will get a folder containing the datapack files.
3. Open your Minecraft world folder (`.minecraft/saves/Your_World_Name/datapacks`).
4. Drag the **extracted folder** directly into the `datapacks` folder. 
   > ⚠️ **Important:** Make sure `pack.mcmeta` and the `data/` folder are directly inside that folder—do not put the raw `.zip` file in there, and avoid nesting folders inside folders!
5. Join the world and type `/reload` in chat.

## How do you obtain the wand? Just type in the command below.
/give @s stick{display:{Name:'{"text":"ender wand","color":"dark_purple"}'},Unbreakable:1b}

## ⚙️ Technical Details
* **Multiplayer Compatible:** Yes. Scoreboards and raycasting are fully executed `as` and `at` the casting player.
* **Lag Friendly:** Optimized interaction entities and strict kill-timers on all projectiles ensure no lingering entities bog down your server.
* **Version:** [1.19.4]